package com.zz.webapp.util;

import org.springframework.core.convert.converter.Converter;
import org.springframework.core.serializer.support.DeserializingConverter;
import org.springframework.core.serializer.support.SerializingConverter;

/**
 * Created by zooty on 2017/5/21.
 */
public class Test {

    private Converter<Object, byte[]> serializer = new SerializingConverter();

    private Converter<byte[], Object> deserializer = new DeserializingConverter();
    public static void main(String[] args) {
        StringBuffer sb = new StringBuffer();
        for(int i = 0;i<10;i++){
           sb.append(i).append(",");
        }
        sb.deleteCharAt(sb.length()-1);
        System.out.println(sb.toString());
    }

}
